/**
 * 
 */
package com.cnhaimei.base;

import android.app.Application;
import android.graphics.BitmapFactory;

import com.cnhaimei.vod.R;
import com.cnhaimei.vod.logic.EventsManager;
import com.cnhaimei.vod.net.XVod;
import com.cnhaimei.vod.util.Util;

/**
 * @author jin001.wu@gmail.com <br>
 * @date 2011-7-21
 *
 */
public class ApplicationEx extends Application {

	@Override
	public void onCreate() {
		super.onCreate();
		
		// init
		EventsManager.G();
		XVod.G();
		
		Util.mApp = this;
		
		// 暂时
		Util.DEFAULT_STAR = BitmapFactory.decodeResource(getResources(), R.drawable.default_star);
	}

	@Override
	public void onLowMemory() {
		// TODO Auto-generated method stub
		super.onLowMemory();
	}

	@Override
	public void onTerminate() {
		// TODO Auto-generated method stub
		super.onTerminate();
	}
	

}
